package cn.com.shopec.erp.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName: LogisticsSettle
 * @Description: 物流商结算设置实体表
 * @author: gaoyaxiong
 * @date: 2013-5-26 下午11:30:13
 */
@Entity
@Table(name = "TBL_LOGISTICS_SETTLE")
public class LogisticsSettle {
	
	/** ID **/
	private String id;
	
	/** 结算类型(1:代收款结算 2：运费结算 3: 手续费设置类型) **/
	private String settleType;
	
	/** 编码 **/
	private String code;
	
	/** 删除标识 **/
	private Integer deleteFlag;
	
	/** 物流结算信息编码 **/
	private String settleinfoCode;
	
	/** 结算周期 **/
	private String settleTime;
	
	/** 手续比例 **/
	private String poundage;
	

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "SETTLE_TYPE")
	public String getSettleType() {
		return settleType;
	}

	public void setSettleType(String settleType) {
		this.settleType = settleType;
	}

	@Column(name = "CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "DELETE_FLAG")
	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	@Column(name = "SETTLEINFO_CODE")
	public String getSettleinfoCode() {
		return settleinfoCode;
	}

	public void setSettleinfoCode(String settleinfoCode) {
		this.settleinfoCode = settleinfoCode;
	}

	@Column(name = "SETTLE_TIME")
	public String getSettleTime() {
		return settleTime;
	}

	public void setSettleTime(String settleTime) {
		this.settleTime = settleTime;
	}

	@Column(name = "POUNDAGE")
	public String getPoundage() {
		return poundage;
	}

	public void setPoundage(String poundage) {
		this.poundage = poundage;
	}

	
}
